package com.zz.dao;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;

import com.zz.entity.ReadRooms;

public interface ReadRoomsDao extends JpaRepository<ReadRooms, Integer>,JpaSpecificationExecutor<ReadRooms> {
	
	
	@Query(value="select Id from ReadRooms where name=?1")
	Integer getcardid(String name);
}
